﻿<UserControl x:Class="SomethingSpacial.Views.Default.Twitter"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  >
    <Grid x:Name="LayoutRoot" MouseLeftButtonUp="LayoutRoot_MouseLeftButtonUp" >
        <Grid.RowDefinitions>
            <RowDefinition Height="20" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <TextBlock x:Name="DisplayTitleTarget" Grid.Row="0" HorizontalAlignment="Left" FontFamily="Verdana" FontSize="14" Foreground="#FF00C7FF" />
        <Rectangle Opacity="1" Fill="White" RadiusX="10" RadiusY="10" Grid.Row="1"/>
        <ItemsControl x:Name="FeedList" Visibility="Visible" Margin="10,10,10,10" Grid.Row="1">
            <ItemsControl.ItemTemplate>
                <DataTemplate>
                    <StackPanel Margin="0 0 0 5">
                        <TextBlock x:Name="FeedItemTitle" FontFamily="Verdana" FontSize="13" Foreground="#FF5FA700" Cursor="Hand" 
                                           Text="{Binding Title.Text}" TextAlignment="Left" TextWrapping="Wrap" MouseLeftButtonUp="FeedItemTitle_MouseLeftButtonUp"/>
                        <TextBlock x:Name="FeedSlideAgo" Opacity="1" FontFamily="Verdana" FontSize="10" Foreground="#FF61655D" 
                                           Text="{Binding PublishDate.LocalDateTime}" TextAlignment="Left" TextWrapping="Wrap" Height="17"/>
                    </StackPanel>
                </DataTemplate>
            </ItemsControl.ItemTemplate>
        </ItemsControl>
        <TextBlock x:Name="MoreTxtBlck" Text="More..." HorizontalAlignment="Right" VerticalAlignment="Bottom" Grid.Row="1" FontFamily="Verdana" FontSize="10" Foreground="#FFB5FE69" 
                   Visibility="Collapsed" Margin="0 0 5 0" />
        <Image Source="../../Images/rss.png" HorizontalAlignment="Right" Margin="0,0,10,10" VerticalAlignment="Bottom" Width="20" Height="20" Grid.Row="1"  Cursor="Hand" MouseLeftButtonUp="Image_MouseLeftButtonUp"/>
    </Grid>
</UserControl>
